<html>
<head><meta charset="utf-8"><title>Changing stability markers on re-export? · t-lang · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/index.html">t-lang</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html">Changing stability markers on re-export?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="236898577"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236898577" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236898577">(Apr 30 2021 at 20:44)</a>:</h4>
<p>Is it possible to have something marked as unstable via stability markers, and then <code>pub use</code> it elsewhere and mark it as stable there?</p>



<a name="236898626"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236898626" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236898626">(Apr 30 2021 at 20:44)</a>:</h4>
<p>For instance: move something that's currently stable from std to core, have it unstable in core, but re-export it in std and preserve its current stability.</p>



<a name="236903037"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236903037" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236903037">(Apr 30 2021 at 21:09)</a>:</h4>
<p>I feel like that has been used before</p>



<a name="236903067"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236903067" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236903067">(Apr 30 2021 at 21:10)</a>:</h4>
<p>(deleted)</p>



<a name="236904625"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236904625" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236904625">(Apr 30 2021 at 21:17)</a>:</h4>
<p>The 1.41 release cites <code>core::panic</code> like that, <a href="https://github.com/rust-lang/rust/issues/66771">#66771</a></p>



<a name="236957613"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236957613" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236957613">(May 01 2021 at 10:51)</a>:</h4>
<p>there's an ancient bug that stability "looks through" reexports and considers the underlying item, so I'd be surprised if this works... but I cannot find this bug report now...</p>



<a name="236957730"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236957730" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236957730">(May 01 2021 at 10:53)</a>:</h4>
<p>it might be <a href="https://github.com/rust-lang/rust/issues/21905">https://github.com/rust-lang/rust/issues/21905</a>? but that doesnt mention <code>intrinsics</code> which is the module most affected by this</p>



<a name="236957751"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236957751" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236957751">(May 01 2021 at 10:54)</a>:</h4>
<p>(<code>std::intrinsics:.transmute</code> can be called on stable even though it shouldnt)</p>



<a name="236957818"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236957818" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236957818">(May 01 2021 at 10:55)</a>:</h4>
<p>ah, this is it: <a href="https://github.com/rust-lang/rust/issues/15702">https://github.com/rust-lang/rust/issues/15702</a></p>



<a name="236957834"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Changing%20stability%20markers%20on%20re-export%3F/near/236957834" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Changing.20stability.20markers.20on.20re-export.3F.html#236957834">(May 01 2021 at 10:55)</a>:</h4>
<p>and it's not about reexports so it is probably not relevant... sorry for the fuzz</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>